home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
splines.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
9KB
|
265 lines
SSSSPPPPLLLLIIIINNNNEEEESSSS((((LLLLOOOOCCCCAAAALLLL)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV SSSSPPPPLLLLIIIINNNNEEEESSSS((((LLLLOOOOCCCCAAAALLLL))))
NNNNAAAAMMMMEEEE
splines - displays bouncing balls used as control points for
a spline curve
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
_s_p_l_i_n_e_s [-abefrsuxBEFIRTW][-w width][-h height][-o
filename][-m index][-c colorwheel][-n count][-N
nballs][-l limit][-p nsteps][-D delay][-S
naptime][-X xradius][-Y yradius]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_s_p_l_i_n_e_s Randomly places the specified number of control
points and sets each of them off on a randomly calculated
linear trajectory. The balls bounce off of the walls and are
used as control points for either a B-spline or Bezier
spline curve.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
-a selects display of control points only (no spline
curve)
-B Indicates use of the Bezier spline rather than the
B-spline
-b selects display of spline curve only (no control
points)
-c _n Selects one of many different color wheels to use.
The default color wheel is a rainbow palette.
-D _d_e_l_a_y
Specifies the length of delay to use when spinning
the color wheel
-E Indicates to erase the previous control points as
the new ones are drawn, displaying only the current
control points
-e Indicates to erase the previous curve as the new one
is drawn, displaying only the current spline curve
-F Indicates to use the full screen
-f Indicates to not use fill mode, drawing control
points as circles rather than disks
-I Indicates use of the Infinite mode. There is no
limit to the number of curves drawn
-w _n Specifies the width of the window. Default is 512.
-h _n Specifies the height of the window. Default is 512.
Page 1 (printed 7/3/94)
SSSSPPPPLLLLIIIINNNNEEEESSSS((((LLLLOOOOCCCCAAAALLLL)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV SSSSPPPPLLLLIIIINNNNEEEESSSS((((LLLLOOOOCCCCAAAALLLL))))
-l _n Specifies the number of successive curves to draw
before starting a new sequence or exiting. Default
is width x height.
-m _n Specifies the minimum color index to be used for the
upper end of the color wheel
-n _n_u_m_p_i_c_s
Specifies how many sequences of curves to compute
before exiting. During display (see NOTES below),
pressing 'n' or 'N' will skip to the next map.
-N _n_b_a_l_l_s
Specifies how many control points to simultaneously
compute and display
-o _f_i_l_e_n_a_m_e
Specifies the output filename to be used. If the -o
option is given, this file will automatically be
written out at the completion of the drawing. If it
is not specified, a default filename of splines.ppm
is used and only written if the 'f' or 'F' keys are
pressed during a run. The format of the output file
is PPM. The parameters used to calculate the picture
are included as comments at the beginning of the
output file.
-p _n_s_t_e_p_s
Specifies how many steps to use in the spline curve
computation. Default is 50
-R Indicates the display will be in the root window. In
this mode, the default color map will be used and
no spinning of the color wheel is possible.
-W Indicates the control points will perform a pseudo-
random walk
-r Specifies random selection of modes and parameters
-S /fInaptime
Specifies the interval to delay between drawing
curves
-s Indicates to spin the color wheel immediately upon
completion of display.
-u Produces a usage message.
-X _r_a_d_i_u_s
Specifies the length of X-axis of the control
points. Default is 5.
Page 2 (printed 7/3/94)
SSSSPPPPLLLLIIIINNNNEEEESSSS((((LLLLOOOOCCCCAAAALLLL)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV SSSSPPPPLLLLIIIINNNNEEEESSSS((((LLLLOOOOCCCCAAAALLLL))))
-x Indicates not to use XOR as drawing mode (no
erasing)
-Y _r_a_d_i_u_s
Specifies the length of Y-axis of the control
points. Default is 4.
During display, use of the keys +-
><_b_B_c_C_d_D_e_E_f_F_g_G_i_I_k_K_L_n_N_p_P_r_R_s_S_w_W_x_X?_h_q_Q indicates:
(>) Increment delay between curve drawings.
(<) Decrement delay between curve drawings.
(+) Increment minimum color index.
(-) Decrement minimum color index.
(b or B) Toggles use of Bezier and B-spline algorithms
(c) Clears the window
(C) Create another control point, preserving the
existing ones.
(d or D) Decrements or increments the delay used when
spinning the color wheel
(e or E) Erase the spline curve or control points as
you go
(f or F) Save the current window to a file in PPM
format
(g or G) Toggle drawing control points as circles or
disks
(i or I) Toggle checking for exceeding the limit on
number of curves
(k or K) Toggle display of control points or spline
curves
(L) Delete one of the control points
(n or N) Skip to the next series of splines.
(p or P) Decrement or increment the number of steps per
spline curve
(R) Toggle pseudo-random walk of control points
(S) Stop spinning the color wheel
(s) Spin the color wheel in the positive direction.
(r) Spin the color wheel in the negative direction.
(W or w) Increment or decrement the color map index.
(x) Toggle drawing between XOR and COPY modes
(X) Erase the existing control points and restart the
computation and display
(Q or q) quit
AAAAUUUUTTTTHHHHOOOORRRR
Ronald Joe Record
The Santa Cruz Operation
P.O. Box 1900
Santa Cruz, CA 95061
rr@sco.com
Page 3 (printed 7/3/94)
SSSSPPPPLLLLIIIINNNNEEEESSSS((((LLLLOOOOCCCCAAAALLLL)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV SSSSPPPPLLLLIIIINNNNEEEESSSS((((LLLLOOOOCCCCAAAALLLL))))
AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
The original bouncing ball program was written by Gever
Tulley in CGI. Assistance with colormaps and spinning color
wheels and X was gleaned from Hiram Clawson and Stacey
Campbell.
Page 4 (printed 7/3/94)